package com.canaan.business.domain.storehouse;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;
import com.canaan.common.annotation.TableName;
/**
 * 【请填写功能名称】对象 wms_merge_pack
 *
 * @author ruoyi
 * @date 2023-03-06
 */
@ApiModel(description = "wms_merge_pack")
@TableName("wms_merge_pack")
public class MergePack extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** no */
    @Excel(name = "编号")
    private String no;

    /** 目标条码 */
    @ApiModelProperty("目标条码")
    @Excel(name = "目标条码")
    private String targetBarcode;

    /** 来源条码 */
    @ApiModelProperty("来源条码")
    @Excel(name = "来源条码")
    private String sourceBarcode;

    /** 物料编号 */
    @ApiModelProperty("物料编号")
    @Excel(name = "物料编号")
    private String productNo;

    /** 物料名称 */
    @ApiModelProperty("物料名称")
    @Excel(name = "物料名称")
    private String productName;

    /** 来源原箱数量 */
    @ApiModelProperty("来源原箱数量")
    @Excel(name = "来源原箱数量")
    private Long sourceBoxNum;

    /** 目标原箱数量 */
    @ApiModelProperty("目标原箱数量")
    @Excel(name = "目标原箱数量")
    private Long targetBoxNum;

    /** 合并数量 */
    private Long sumNum;

    /** 是否删除：1是 0否 */
    private String delFlag;

    private Integer sort;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setTargetBarcode(String targetBarcode)
    {
        this.targetBarcode = targetBarcode;
    }

    public String getTargetBarcode()
    {
        return targetBarcode;
    }
    public void setSourceBarcode(String sourceBarcode)
    {
        this.sourceBarcode = sourceBarcode;
    }

    public String getSourceBarcode()
    {
        return sourceBarcode;
    }
    public void setProductNo(String productNo)
    {
        this.productNo = productNo;
    }

    public String getProductNo()
    {
        return productNo;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setSourceBoxNum(Long sourceBoxNum)
    {
        this.sourceBoxNum = sourceBoxNum;
    }

    public Long getSourceBoxNum()
    {
        return sourceBoxNum;
    }
    public void setTargetBoxNum(Long targetBoxNum)
    {
        this.targetBoxNum = targetBoxNum;
    }

    public Long getTargetBoxNum()
    {
        return targetBoxNum;
    }
    public void setSumNum(Long sumNum)
    {
        this.sumNum = sumNum;
    }

    public Long getSumNum()
    {
        return sumNum;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("targetBarcode", getTargetBarcode())
            .append("sourceBarcode", getSourceBarcode())
            .append("productNo", getProductNo())
            .append("productName", getProductName())
            .append("sourceBoxNum", getSourceBoxNum())
            .append("targetBoxNum", getTargetBoxNum())
            .append("sumNum", getSumNum())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("sort", getSort())
            .toString();
    }
}
